package com.tianji.api.client.remark;

import com.tianji.api.client.remark.fallback.RemarkFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "remark-service", fallbackFactory = RemarkFallbackFactory.class)
public interface RemarkClient {

    @GetMapping("/likes/list")
    public List<Long> isBizLiked(@RequestParam("bizIds") List<Long> bizIds,
                                @RequestParam("bizType") String bizType);
}